package com.qhy.springcloud.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author qiuhongyu
 * @date 2020/12/8 10:01
 */
@Mapper
public interface StorageMapper {

    int decrease(@Param("productId") Long productId, @Param("byNum") Integer byNum);

}
